<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<?php include 'head.php'; ?>
	<title><?php echo $xtcms_seoname; ?></title>
	<meta name="keywords" content="<?php echo $xtcms_keywords; ?>">
	<meta name="description" content="<?php echo $xtcms_description; ?>">
</head>

<body class="index">
	<?php include 'header.php';
	?>
	<div class="container">
		<div class="row" style="margin-top:10px"><?php echo get_ad(2) ?></div>
		<div class="row">
			<div class="hy-layout clearfix">
				<div class="col-lg-7 col-md-6 col-sm-12">
					<div class="swiper-container hy-slide">
						<div class="swiper-wrapper">

							<?php {

								$result = mysql_query('select * from xtcms_slideshow order by s_order desc');
								while ($row = mysql_fetch_array($result)) {
									?>

							<div class="swiper-slide">
								<div class="hy-video-slide">
									<a class="videopic" href="<?php echo $row['s_url']; ?>" title="<?php echo $row['s_name']; ?>" style="padding-top: 60%; background: url(<?php echo $row['s_picture']; ?>)  no-repeat; background-position:50% 50%; background-size: cover; border-radius: 6px; cover;border-radius: 6px;">
										<span class="title"><?php echo $row['s_name']; ?></span>
									</a>
								</div>
							</div><?php }

										foreach ($one as $ni => $cs) {
											$cs = str_replace('https://www.360kan.com', '', "$cs");
											echo '<div class="swiper-slide">
	<div class="hy-video-slide">
		<a class="videopic" href="./play.php?play=' . $cs . '" title="" style="padding-top: 60%; background: url(' . $two[$ni] . ')  no-repeat; background-position:50% 50%; background-size: cover; cover;border-radius: 6px;">
			<span class="title">' . $three[$ni] . '</span>
	    </a>
	</div>
</div>';
										}
									} ?> </div>
						<div class="swiper-button-next hidden-xs">
							<i class="icon iconfont icon-right"></i>
						</div>
						<div class="swiper-button-prev hidden-xs">
							<i class="icon iconfont icon-back"></i>
						</div>
						<div class="swiper-pagination">
						</div>
					</div>
				</div>

				<div class="col-lg-5 col-md-6 col-sm-12 padding-0">
					<div class="hy-index-menu clearfix">
						<div class="item">
							<ul class="clearfix">
								<li><a href="./movie.php?m=/dianying/list.php?cat=all&page=1"><i class="icon iconfont icon-film text-color"></i><span>最新电影</span></a></li>
								<li><a href="./vlist.php?cid=0"><i class="icon iconfont icon-ic_mymatch_ranking text-color"></i><span>特别推荐</span></a></li>
								<li><a href="./zhibo.php"><i class="icon iconfont icon-show text-color"></i><span>电视直播</span></a></li>
								<li><a href="./ucenter"><i class="icon iconfont icon-member1 text-color"></i><span>
											<?php echo $_SESSION['user_name']; ?>
											<?php if (!isset($_SESSION['user_name']))
												echo "会员中心";


											?>
										</span></a></li>

							</ul>
						</div>
					</div>
					<div class="hy-index-tags hidden-md clearfix">
						<div class="item">
							<ul class="clearfix">
								<li><a href="./movie.php?m=/dianying/list.php?cat=100&page=1">爱情</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=106&page=1">动作</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=102&page=1">恐怖</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=104&age=1">科幻</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=112&page=1">剧情</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=105&page=1">犯罪</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=113&page=1">奇幻</a></li>
								<li><a href="./movie.php?m=/dianying/list.php?cat=108&page=1">战争</a></li>
							</ul>
						</div>
					</div>
					<div class="hy-right-qrcode hidden-sm hidden-xs" aligh="left">
						<div class="item">
							<dl class="clearfix">
								<iframe name="weather_inc" src="//i.tianqi.com/index.php?c=code&id=19&num=4" width="440" height="120" frameborder="0" scrolling="no"></iframe>

							</dl>
						</div>
					</div>
				</div>
			</div>

			<!--滚动公告开始-->
			<div class="hy-layout clearfix">
				<li class="active">
					<table border="0" width="100%">
						<tr>
							<td width="22" height="22">
								<img src="images/notice.png" width="22" height="22" />
							</td>
							<td width="12" height="22"></td>
							<td><strong>
									<marquee scrollamount="8" direction="left" align="Middle" style="padding-right:20px;"><?php echo $xtcms_gonggao; ?>
								</strong></marquee>
							</td>
						</tr>
					</table>
				</li>
			</div>
			<!--滚动公告结束-->

			<!---自动尝鲜--->
			<?php if ($xtcms_dianshi == 1) { ?>
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<h3 class="margin-0"><i class="icon iconfont icon-update text-color"></i> 今日推荐</h3>
					<ul class="pull-right">

						<li class="active"><a href="clist.php" class="text-muted">更多 <i class="icon iconfont icon-right"></i></a></li>
					</ul>
				</div>
				<div class="clearfix">
					<div class="hy-video-list cleafix">
						<div class="item" kkcms="cx">
						</div>
					</div>
					<div class="hy-video-text-list hidden-xs clearfix">
						<div class="item">
							<ul class="clearfix"></ul>
						</div>
					</div>
				</div>
				<div class="hy-video-footer visible-xs clearfix">
					<a href="clist.php" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a></div>
			</div>
			<!--end 自动尝鲜-->

			<!--抢先看--><?php } ?>
			<?php if ($xtcms_qianxian == 1) { ?>
			<div class="container">
				<div class="row" style="margin-top:10px"><?php echo get_ad(3) ?></div>
			</div>
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<h3 class="margin-0"><i class="icon iconfont icon-ic_mymatch_ranking text-color"></i> 特别推荐</h3>
					<ul class="pull-right">

						<li class="active"><a href="vlist.php?cid=0" class="text-muted">更多 <i class="icon iconfont icon-right"></i></a></li>
					</ul>
				</div>
				<div class="clearfix">
					<div class="hy-video-list cleafix">
						<div class="item">

							<?php $result = mysql_query('select * from xtcms_vod where d_rec=1 order by d_id desc LIMIT 0,12');
								while ($row = mysql_fetch_array($result)) {
									$cc = "./bplay.php?play=";
									$dd = "./bplay/";
									if ($xtcms_wei == 1) {
										$ccb = $dd . $row['d_id'];
									} else {
										$ccb = $cc . $row['d_id'];
									}
									if ($row['d_jifen'] > 0) {
										$ok = "onclick=\"return confirm('此视频为收费视频，观看需要支付" . $row['d_jifen'] . "积分，您是否观看？')\"";
									} else {
										$ok = "";
									}
									echo '<div class="col-md-2 col-sm-3 col-xs-4">
							<a class="videopic lazy" ' . $ok . ' href="' . $ccb . '" title="' . $row['d_name'] . '" data-original="' . $row['d_picture'] . '" style="background: url(./style/load.gif) no-repeat; background-position:50% 50%; background-size: cover;border-radius: 6px;"><span class="play hidden-xs"></span><span class="score">' . get_channel_name($row['d_parent']) . '</span></a>

							<div class="title">
								<h5 class="text-overflow"><a href="' . $ccb . '">' . $row['d_name'] . '</a></h5>
							</div>
							<div class="subtitle text-muted text-muted text-overflow hidden-xs">主演：' . $row['d_zhuyan'] . '</div>
						</div>';
								} ?>


						</div>
					</div>
				</div>
				<div class="hy-video-footer visible-xs clearfix">
					<a href="vlist.php?cid=0" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a>
				</div>
			</div>
			<!--抢先看-->
			<?php } ?>
			<?php if ($xtcms_dianying == 1) { ?>
			<div class="container">
				<div class="row" style="margin-top:10px"><?php echo get_ad(4) ?></div>
			</div>
			<!--电影-->
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<ul class="pull-right">
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=103&page=1" class="text-muted border-right">喜剧</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=100&page=1" class="text-muted border-right">爱情</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=106&page=1" class="text-muted border-right">动作</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=102&page=1" class="text-muted border-right">恐怖</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=104&page=1" class="text-muted border-right">科幻</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=112&page=1" class="text-muted border-right">剧情</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>movie.php?m=/dianying/list.php?cat=105&page=1" class="text-muted border-right">犯罪</a> /</li>

						<li class="active"><a href="movie.php?m=/dianying/list.php?cat=all&page=1" class="text-muted">更多 <i class="icon iconfont icon-right"></i></a></li>
					</ul>
					<h3 class="margin-0"><i class="icon iconfont icon-film text-color"></i>电影</h3>
				</div>
				<div class="clearfix" kkcms="dy">
					<div class="hy-video-footer visible-xs clearfix">
						<a href="movie.php?m=/dianying/list.php?cat=all&page=1" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a>
					</div>
				</div>
			</div>
			<!--电影-->
			<?php } ?>
			<?php if ($xtcms_dianshi == 1) { ?>
			<div class="container">
				<div class="row" style="margin-top:10px"><?php echo get_ad(5) ?></div>
			</div>
			<!--电视剧-->
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<ul class="pull-right">
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=101&page=1" class="text-muted border-right">言情</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=105&page=1" class="text-muted border-right">伦理</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=109&page=1" class="text-muted border-right">喜剧</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=108&page=1" class="text-muted border-right">悬疑</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=111&page=1" class="text-muted border-right">都市</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=100&page=1" class="text-muted border-right">偶像</a> /</li>

						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="tv.php?m=/dianshi/list.php?cat=107&page=1" class="text-muted border-right">军事</a> /</li>
						<li class="active"><a href="./tv.php?m=/dianshi/list.php?cat=all&page=1" class="text-muted">更多 <i class="icon iconfont icon-right"></i></a></li>
					</ul>
					<h3 class="margin-0"><i class="icon iconfont icon-show text-color"></i>电视剧</h3>
				</div>
				<div class="clearfix" kkcms="tv">
					<div class="hy-video-footer visible-xs clearfix">
						<a href="./tv.php?m=/dianshi/list.php?cat=all&page=1" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a>
					</div>
				</div>
			</div>
			<!--电视剧-->
			<?php } ?>
			<?php if ($xtcms_zongyi == 1) { ?>
			<!--综艺-->
			<div class="container">
				<div class="row" style="margin-top:10px"><?php echo get_ad(6) ?></div>
			</div>
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<ul class="pull-right">
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=101&page=1" class="text-muted border-right">选秀</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=102&page=1" class="text-muted border-right">八卦</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=103&page=1" class="text-muted border-right">访谈</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=104&page=1" class="text-muted border-right">情感</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=105&page=1" class="text-muted border-right">生活</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=106&page=1" class="text-muted border-right">晚会</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>zongyi.php?m=/zongyi/list.php?cat=107&page=1" class="text-muted border-right">搞笑</a> /</li>

						<li class="active"><a href="./zongyi.php?m=/zongyi/list.php?cat=all&page=1" class="text-muted">更多 <i class="icon iconfont icon-right"></i></a></li>
					</ul>
					<h3 class="margin-0"><i class="icon iconfont icon-mallanimation text-color"></i>综艺</h3>
				</div>
				<div class="clearfix" kkcms="zy">
					<div class="hy-video-footer visible-xs clearfix">
						<a href="./zongyi.php?m=/zongyi/list.php?cat=all&page=1" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a>
					</div>
				</div>
			</div>
			<!--综艺-->
			<?php } ?>
			<?php if ($xtcms_dongman == 1) { ?>
			<!--动漫-->
			<div class="container">
				<div class="row" style="margin-top:10px"><?php echo get_ad(7) ?></div>
			</div>
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<ul class="pull-right">
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=100&page=1" class="text-muted border-right">热血</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=101&page=1" class="text-muted border-right">恋爱</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=102&page=1" class="text-muted border-right">美少女</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=103&page=1" class="text-muted border-right">运动</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=104&page=1" class="text-muted border-right">校园</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=105&page=1" class="text-muted border-right">搞笑</a> /</li>
						<li class="text-muted hidden-md hidden-sm hidden-xs"><a href="<?php echo $xtcms_domain; ?>dongman.php?m=/dongman/list.php?cat=107&page=1" class="text-muted border-right">冒险</a> /</li>

						<li class="active"><a href="./dongman.php?m=/dongman/list.php?cat=all&page=1" class="text-muted">更多 <i class="icon iconfont icon-right"></i></a></li>
					</ul>
					<h3 class="margin-0"><i class="icon iconfont icon-icon_special text-color"></i>动漫</h3>
				</div>
				<div class="clearfix" kkcms="dm">
					<div class="hy-video-footer visible-xs clearfix">
						<a href="./dongman.php?m=/dongman/list.php?cat=all%26pageno=1" class="text-muted">查看更多 <i class="icon iconfont icon-right pull-right"></i></a>
					</div>
				</div>
			</div>
			<!--动漫-->
			<div class="hy-layout hidden-md hidden-sm hidden-xs clearfix">
				<div class="hy-video-head">
					<h3 class="margin-0">合作伙伴</h3>
				</div>
				<div class="hy-footer-partner">
					<div class="item clearfix"><a href="https://www.iqiyi.com/" target="_blank" class="iqiyi"><span></span></a><a href="https://www.letv.com/" target="_blank" class="letv"><span></span></a><a href="https://www.wasu.cn/" target="_blank" class="wasu"><span></span></a><a href="https://www.fun.tv/" target="_blank" class="fun"><span></span></a><a href="https://www.hunantv.com/" target="_blank" class="hunantv"><span></span></a><a href="https://www.cntv.cn/" target="_blank" class="cntv"><span></span></a><a href="https://v.ifeng.com/" target="_blank" class="ifeng line-last"><span></span></a><a href="https://www.pptv.com/" target="_blank" class="pptv"><span></span></a><a href="https://www.kankan.com/?id=731032" target="_blank" class="kankan"><span></span></a><a href="https://www.56.com/" target="_blank" class="v56"><span></span></a><a href="https://www.ku6.com/" target="_blank" class="ku6"><span></span></a><a href="https://www.1905.com/" target="_blank" class="m1905"><span></span></a><a href="https://www.cztv.com/" target="_blank" class="sina"><span></span></a><a href="https://www.yinyuetai.com/" target="_blank" class="yinyuetai line-last"><span></span></a></div>
				</div>
			</div>
			<!--end 合作伙伴 -->

			<?php } ?>
			<div class="container">
				<div class="row" style="margin-top:10px"><?php echo get_ad(8) ?></div>
			</div>
			<div class="hy-layout clearfix">
				<div class="hy-video-head">
					<h3 class="margin-0">友情链接（<a href="youlian.php" target="_blank"><u>申请</u></a>）</h3>
				</div>
				<div class="hy-footer-link">
					<div class="item clearfix">
						<ul class="clearfix">
							<?php
							$result = mysql_query('select * from xtcms_link');
							while ($row = mysql_fetch_array($result)) {
								?>
							<a href="<?php echo $row['l_url']; ?>" target="_blank"><?php echo $row['l_name']; ?></a><?php
																													}
																													?>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script>
		var swiper = new Swiper('.hy-slide', {
			pagination: '.swiper-pagination',
			paginationClickable: true,
			autoplay: 3000,
			nextButton: '.swiper-button-next',
			prevButton: '.swiper-button-prev',
		});
	</script>
	<script>
		var swiper = new Swiper('.hy-slide', {
			pagination: '.swiper-pagination',
			paginationClickable: true,
			autoplay: 3000,
			nextButton: '.swiper-button-next',
			prevButton: '.swiper-button-prev',
		});
	</script>
	<script>
		ajax("./data/zwcximg.php?n=wp", "[kkcms=cx]");
		ajax("./data/dyjx.php?n=wp", "[kkcms=dy]");
		ajax("./data/tvjx.php?n=wp", "[kkcms=tv]");
		ajax("./data/zyjx.php?n=wp", "[kkcms=zy]");
		ajax("./data/dmjx.php?n=wp", "[kkcms=dm]");

		function ajax(url, kkcms) {
			$.get(url, function(res) {
				$(kkcms).html(res);
			})
			$(kkcms).html("<div style='width:100%;height:150px;margin:10px auto;text-align:center;ling-height:80px;'><img src='<?php echo $xtcms_domain; ?>style/jiazai.gif' height='100%' alt='加载动画ajax'></div>");
		}
	</script>
	<script>
		window._bd_share_config = {
			"common": {
				"bdPopTitle": "<?php echo $xtcms_seoname; ?>-全网视频免费看",
				"bdSnsKey": {},
				"bdText": "<?php echo $xtcms_seoname; ?>",
				"bdMini": "2",
				"bdMiniList": false,
				"bdPic": "<?php echo $xtcms_domain; ?>images/fx.jpg",
				/* 此处填写要分享图片地址 */
				"bdStyle": "0",
				"bdSize": "16"
			},
			"share": {}
		};
		with(document) 0[
			(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'https://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)
		];
	</script>
	<?php include 'footer.php'; ?>
